<?php
	session_start();
	$_SESSION["type_login"] = "editor";
?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>Editor: Login</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="">
		<meta name="author" content="">

		<!-- Le styles -->
		<link href="../css/bootstrap.css" rel="stylesheet">
		<link href="../css/bootstrap-responsive.css" rel="stylesheet">

		<style type="text/css">
			body {
				padding-top: 40px;
				padding-bottom: 40px;
				background-color: #f5f5f5;
			}

			.form-signin {
				max-width: 300px;
				padding: 19px 29px 29px;
				margin: 0 auto 20px;
				background-color: #fff;
				border: 1px solid #e5e5e5;
				-webkit-border-radius: 5px;
					 -moz-border-radius: 5px;
								border-radius: 5px;
				-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
					 -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
								box-shadow: 0 1px 2px rgba(0,0,0,.05);
			}
			.form-signin .form-signin-heading,
			.form-signin .checkbox {
				margin-bottom: 10px;
			}
			.form-signin input[type="text"],
			.form-signin input[type="password"] {
				font-size: 16px;
				height: auto;
				margin-bottom: 15px;
				padding: 7px 9px;
			}
		</style>

		<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
			<script src="../assets/js/html5shiv.js"></script>
		<![endif]-->

	</head>

	<body>

		<!-- Le Container -->
		<div class="container">

			<!-- Le Login -->
			<form class="form-signin" method="get" action="../utils/logger.php">
				<h2 class="form-signin-heading">Please sign in</h2>
				<input name="email" autocomplete="off" type="text" class="form-control" placeholder="Email address">
				<input name="pass"  type="password" class="form-control" placeholder="Password">
				<button class="btn btn-large btn-primary" type="submit">Sign in</button>
			</form>

		</div> 

		<!-- Le javascript
		================================================== -->
		<!-- Placed at the end of the document so the pages load faster -->
		<script src="../js/jquery.js"></script>
		<script src="../js/bootstrap/bootstrap-transition.js"></script>
		<script src="../js/bootstrap/bootstrap-alert.js"></script>
		<script src="../js/bootstrap/bootstrap-modal.js"></script>
		<script src="../js/bootstrap/bootstrap-dropdown.js"></script>
		<script src="../js/bootstrap/bootstrap-scrollspy.js"></script>
		<script src="../js/bootstrap/bootstrap-tab.js"></script>
		<script src="../js/bootstrap/bootstrap-tooltip.js"></script>
		<script src="../js/bootstrap/bootstrap-popover.js"></script>
		<script src="../js/bootstrap/bootstrap-button.js"></script>
		<script src="../js/bootstrap/bootstrap-collapse.js"></script>
		<script src="../js/bootstrap/bootstrap-carousel.js"></script>
		<script src="../js/bootstrap/bootstrap-typeahead.js"></script>

	</body>
</html>
